<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@include file="common.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<div layoutH="120">
<div class="panelBar hover">
		<ul class="toolBar">
			<li class=""><a class="add" href="${path}/categoryAdd.jsp" target="navTab"><span>添加</span></a></li>
			<li class=""><a class="delete" href="${path}/Category/Del" target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
			<li class=""><a class="edit" href="${path}/Category/edit" target="navTab"><span>修改</span></a></li>
		</ul>
	</div>
<table class="list" width="98%">
      <thead>
            <tr>
                  <th>类别</th>
                  <th>类别描述</th>
            </tr>
      </thead>
<tbody>
<c:forEach items="${category}" var="cate" >
	  <tr>
             <td>${cate.categoryName}</td>
             <td>${cate.categoryContent}</td>
       </tr>
</c:forEach>
      </tbody>
</table>
</div>

</body>
</html>